package com.ruoyi.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构部门预警量配置对象 yf_storage_warning
 * 
 * @author XiaoYi...
 * @date 2020-06-02
 * a60fcc47-5b01-485d-8057-a1da748f62c5
 */
public class YfStorageWarning extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 医院id */
    @Excel(name = "医院id")
    private Long hospitalId;

    /** 医废类型（yf_trash_type） */
//    @Excel(name = "医废类型", readConverterExp = "y=f_trash_type")
    private String yfTypeValue;

    private String yfTypeLabel;

    /** 最大库存量（kg） */
    @Excel(name = "最大库存量", readConverterExp = "k=g")
    private Double maxStore;

    /** 创建者 */
    @Excel(name = "创建者")
    private Long createId;

    /** 更新者 */
    private Long updateId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setHospitalId(Long hospitalId) 
    {
        this.hospitalId = hospitalId;
    }

    public Long getHospitalId() 
    {
        return hospitalId;
    }

    public void setMaxStore(Double maxStore) 
    {
        this.maxStore = maxStore;
    }

    public String getYfTypeValue() {
        return yfTypeValue;
    }

    public void setYfTypeValue(String yfTypeValue) {
        this.yfTypeValue = yfTypeValue;
    }

    public String getYfTypeLabel() {
        return yfTypeLabel;
    }

    public void setYfTypeLabel(String yfTypeLabel) {
        this.yfTypeLabel = yfTypeLabel;
    }

    public Double getMaxStore()
    {
        return maxStore;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(Long updateId) 
    {
        this.updateId = updateId;
    }

    public Long getUpdateId() 
    {
        return updateId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hospitalId", getHospitalId())
            .append("yfTypeValue", getYfTypeValue())
            .append("maxStore", getMaxStore())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
